<!doctype html>
<html>
<head>
    <style type="text/css">
        #test{
            border:1px solid black;
        }
        #sub{
            position: absolute;
            width: 200px;
            top: 50px;
            left: 50%;
        }
    </style>
</head>
<body>
 <video src="video/fun.mp4" autoplay="autoplay" controls="controls"></video>
</body>
</html>